<?php
/**
 * @user:andy
 * @date:2021/6/24
 * @company:http://www.sjdphp.com
 * @desc: 自定义配置文件
 */

return [

    ## 返回状态配置
    'return_code' => [
        'success' => 1,
        'normal'  => 0,
        'error'   => -1
    ],


    ## 数据库状态配置
    'mysql_code' => [
        'table_normal'  => 1,
        'table_pending' => 0,
        'table_delete'  => 99,
    ],

    ## 短信配置
    'sms' => [
        ## 阿里云短信
        'ali' => [
            'access_key_id' => '',
            'access_secret' => '',
            'sign_name'      => '',
            'template_code' => '',
            'host'          => '',
            'region_id'     => '',
        ],
    ],


    ## 后台登陆过期时间
    'back_cookie' => [
        'cookie_name'  => 'ZzPHP', ## 保存名称
        'default_time' => 1800,    ## 默认过期时间
        'add_handle'   => 600,     ## 添加操作的增加时间
        'edit_handle'  => 600,     ## 修改操作的增加时间
        'del_handle'   => 60,     ## 删除操作的增加时间
    ],
];
